package com.tb.dubbo;

import com.tb.pojo.Goods2;

import com.tb.pojo.Goods;
import com.tb.pojo.Img;
import com.tb.pojo.ShopParam;

import java.util.List;
import java.util.Map;

public interface IGoodsService {

    /**
     * 根据商品id删除(List)
     */
    Integer deleteGoods(String goodsId);

    /**
     * 商品修改
     */
    boolean updateGoods(Goods2 goods2);

    Goods goodsDetails(Map<String, String> map);

    //获取单个商品图片
    List<Img> selectPic(Map<String, String> map);

    String getId(String goodsName);

    List<ShopParam> getGoodsParam(Map<String, String> map);
}
